package main

import (
	"net/http"
)

func StartHttpServe() {
	h := http.FileServer(http.Dir("./update"))
	log.Info("start http file server ")
	err := http.ListenAndServe(":8887", h)
	if err != nil {
		panic("start http file server failed")
	}
	log.Info("start http file server success")
}
